@layout("/common/_form.html",{js:["/assets/school/parkingPlaceInfo/parkingPlaceInfo_edit.js"]}){

<form class="layui-form" id="parkingPlaceInfoForm" lay-filter="parkingPlaceInfoForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="seqId" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">车库<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select name="parkingId" lay-filter="simpleSelect" id="parkingId" lay-verify="required" required>
                                <option value="">请选择停车场</option>
                                @for(item in parkingInfos){
                                <option value="${item.seqId}">${item.name}</option>
                                @}
                            </select>
                            <!--                            <input id="parkingId" name="parkingId" placeholder="请输入车库id" type="text" class="layui-input" lay-verify="required" required/>-->
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">允许使用时间开始<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="timeStart" name="timeStart" placeholder="请输入允许使用时间开始" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">允许使用时间结束<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="timeEnd" name="timeEnd" placeholder="请输入允许使用时间结束" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">位置<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="location" name="location" placeholder="请输入位置" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">状态<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select name="status" lay-filter="simpleSelect" id="status" lay-verify="required" required>
                                <option value="">请选择状态</option>
                                <option value="0">空闲</option>
                                <option value="1">使用中</option>
                                <option value="2">预定中</option>
                                <option value="3">不可用</option>
                            </select>
<!--                            <input id="status" name="status" placeholder="请输入0 空闲 1 使用中 2 预定中 3 不可用" type="text" class="layui-input" lay-verify="required" required/>-->
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">价格<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="price" name="price" placeholder="请输入价格" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">备注<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="memo" name="memo" placeholder="请输入备注" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
<!--                    <div class="layui-inline layui-col-md12">-->
<!--                        <label class="layui-form-label"><span style="color: red;">*</span></label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input id="openId" name="openId" placeholder="请输入" type="text" class="layui-input" lay-verify="required" required/>-->
<!--                        </div>-->
<!--                    </div>-->
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}